/*
 * behavior.h
 *
 *  Created on: Oct 22, 2012
 *      Author: robot
 */

#ifndef BEHAVIOR_H_
#define BEHAVIOR_H_

class Behavior
{
public:
	double			priority;
	bool			active;

	virtual 			~Behavior 		() 							{}
	virtual bool 	 	 act			(ros::Publisher publisher) 	{ return true;  	}
	virtual bool		 isActive		()							{ return active; 	}
	virtual void 		 setActive		(bool state) 				{ active = state; 	}
	virtual double 	 getPriority	()							{ return priority; }

};


#endif /* BEHAVIOR_H_ */
